/*!
 	@ by wangsiyuan
 	@ for ekola
 */
$baseColor: #000;
$fontColor: #fff;
$fontSize:12px;
$fontFamily:"Microsoft YaHei",Sans-serif;

@mixin grid_line{
	letter-spacing: -4px;
	word-spacing: 0px;
	font-size: 0;
	&>* {
		display: inline-block;
		vertical-align: top;
		letter-spacing: normal;
		word-spacing: normal;
		font-size: $fontSize;
	}
}

@mixin max-screen($res){
  @media only screen and ( max-width: $res )
  {
    @content;
  }
}


@mixin min-screen($res){
  @media only screen and ( min-width: $res )
  {
    @content;
  }
}

@mixin keyframes($name) {
  @-webkit-keyframes #{$name} {
      @content;
  }
  @-moz-keyframes #{$name} {
      @content;
  }
  @-ms-keyframes #{$name} {
      @content;
  }
  @keyframes #{$name} {
      @content;
  }
}

html,body{
	font-size: $fontSize;
	padding: 0rem;
	margin: 0rem;
}

* {
	box-sizing: border-box;
}

a,a:hover {
	text-decoration: none;
}

/* %selector sets */

%ul {
	list-style: none;
	padding-left: 0rem;
}

%noPadding ,
.no-padding {
	padding: 0rem !important;
}

%noMargin,
.no-margin {
	margin: 0rem !important;
}

%noBorder,
.no-border {
	border: none !important;
}

%button {
	cursor: pointer;
	border: none;
}

.start_mt8 {
	margin-top: 8rem !important;
}

.start_mt7 {
	margin-top: 7rem !important;
}

.start_mt6 {
	margin-top: 6rem !important;
}

.start_mt5 {
	margin-top: 5rem !important;
}

.start_mt2 {
	margin-top: 2rem !important;
}

.start_nobg {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

input,textarea {
	-webkit-appearance:none !important;
	appearance:none !important;
	border-radius: 0px;
	box-shadow: none !important;
}

.start_nav {
	position: fixed;
	top: 0rem;
	z-index: 1000;
	width: 100%;
	height: 5rem;
	border-bottom: solid 1px #ddd;
	box-shadow: 0px 0px 5px #eee;
	background-color: $fontColor;

	.start_nav_top {
		@include grid_line;
		height: 5rem;
		width: 100%;

		.start_logo {
			width: auto;
			height: 5rem;
			line-height: 5rem;
			font-size: 2rem;
			font-family: $fontFamily;
			color: $fontColor;

			&>img {
				vertical-align: top;
				height: 3rem;
				margin-top: 1rem;
			}
		}

		.start_options {
			float: right;
			height: 5rem;
			
			&>ul {
				@include grid_line;
				@extend %ul;
				min-width: 20.3rem;
				text-align: right;

				&>li {
					position: relative;
					height: 5rem;
					line-height: 5rem;
					font-size: 1.4rem;
					font-family: $fontFamily;
					padding: 0rem 1rem;
					color: $baseColor;
					cursor: pointer;
					transition: all 0.3s linear;
					-webkit-transition: all 0.3s linear;

					&:hover {
						color: $baseColor;
						//background: transparent;

						// &>img {
						// 	border-color: #e75744;
						// 	transform: rotate(360deg);
						// 	-webkit-transform: rotate(360deg);
						// }

						&>div {
							color: #baseColor;

							&>img {
								border-color: #baseColor;
								transform: rotate(360deg);
								-webkit-transform: rotate(360deg);
							}
						}
					}

					&>img {
						height: 3rem;
						width: 3rem;
						border-radius: 50%;
						-webkit-border-radius: 50%;
						-moz-border-radius: 50%;
						-ms-border-radius: 50%;
						-o-border-radius: 50%;
						//border: solid 0.3rem #fff;
						vertical-align: top;
						margin-top: 1rem;
					}

					&>div {
						height: 5rem;
						line-height: 5rem;
						font-size: 1.4rem;
						font-family: $fontFamily;
						// padding: 0rem 1rem;
						color: $baseColor;

						&>img {
							height: 3rem;
							width: 3rem;
							border-radius: 50%;
							vertical-align: top;
							margin-top: 1rem;
							transition: all 0.3s linear;
							-webkit-transition: all 0.3s linear;
						}
					}

					&>ul{
						position: absolute;
						top: 59px;
						left: 0rem;
						width: 100%;
						height: 0rem;
						overflow: hidden;
						background: $fontColor;
						@extend %ul;
						transition: all 0.3s linear;
						-webkit-transition: all 0.3s linear;
						border-left: solid 1px #eee;
						border-right: solid 1px #eee;
						border-bottom: solid 1px #eee;
						box-shadow: 0px 2px 1px #eee;

						&.active {
							height: 8rem;
						}

						&>li {
							height: 4rem;
							line-height: 4rem;
							font-size: 1.2rem;
							font-family: $fontFamily;
							padding: 0rem 1rem;
							color: $baseColor;
							border: solid 1px $fontColor;
							transition: all 0.3s linear;
							-webkit-transition: all 0.3s linear;

							&:hover {
								color: $fontColor;
								background: $baseColor;
							}
						}
					}
				}

				.start_share {
					padding-left: 2rem;
					background: url(../images/iconfont-fenxiang.png) no-repeat;
					background-size: auto 1.8rem;
					background-position: 0rem 1.5rem;
				}
			}
		}
	}
}

.start_pop_model {
    position: fixed;
    top: 0rem;
    bottom: 0rem;
    left: 0rem;
    right: 0rem;
    z-index: 1000;
	visibility:hidden;

    &.on {
		visibility: visible;

		.start_pop_box {
			opacity: 1;
			transform: translateY(2rem);
		}
    }

    .start_pop_box {
    	position: relative;
    	width: 24rem;
    	padding: 1rem;
    	background: #fff;
    	border: solid 1px #e1e1e1;
    	border-radius: 5px;
    	box-shadow: 0rem 0rem 1rem #fff;
    	margin: 6rem auto;
    	opacity: 0;
    	z-index: 1000;
    	transition: all 0.3s linear;
    	-webkit-transition: all 0.3s linear;

    	&>h6{
    		@extend %noMargin;
    		line-height: 3rem;
			font-size: 1.4rem;
			font-family: $fontFamily;
			font-weight: normal;
			color: #333;
			text-align: center;
    	}

    	.start_pop_content {
    		line-height: 2rem;
			color: #333;
			font-size: 1.2rem;
			font-family: $fontFamily;

			&>img {
				width: 90%;
			}
    	}
    }

    .start_wx_share {
		width: 90%;
		margin: -2rem auto 0rem !important;
		text-align:center;
		padding-left: 4rem;
	}

    .start_pop_bg {
    	position: absolute;
    	width: 100%;
    	height: 100%;
    	top: 0rem;
    	left: 0rem;
    	background: rgba(0,0,0,.5);
    	z-index: 999;
    }
}

.start_container {
	max-width: 1000px;
	margin: 0rem auto;
	margin-bottom: 1rem;
	min-width: 320px;
}

.start_tab {
	padding: 1rem 0rem 0rem;

	&>ul {
		@include grid_line;
		@extend %ul;
		@extend %noMargin;
		padding-left: 0.5rem;

		&>li {
			margin-right: 1rem;
			&>a {
				display:block;
				width: 4rem;
				line-height: 2.5rem;
				text-align: center;
				color: #333;
				font-size: 1.2rem;
				font-family: $fontFamily;
				border-radius: 50px;
				border: solid 0.1rem #000;
			}

			&.active > a{
				background: #000;
				color: #fff;
			}
		}

		&>li.search_bar {
			width: 55%;
			min-width: 13rem;
			position:relative;
			float: right;
			margin-right: 0rem;

			&>input {
				width: 100%;
				height: 2.5rem;
				@extend %noBorder;
				font-size: 1rem;
				font-family: $fontFamily;
				border: solid 1px #e3e3e3 !important;
				border-radius: 50px;
				padding-right: 1rem;
				padding-left: 2.5rem;
				outline: none;
				appearance: none;
				-webkit-appearance: none;
			}

			.start_searchbtn {
				position: absolute;
				top: 0.25rem;
				left: 0.3rem;
				z-index: 100;
				width: 2rem;
				height: 2rem;
				border-radius: 50%;
				@extend %noBorder;
				background: #fff url(../images/iconfont-search.png) no-repeat;
				background-size: auto 1.8rem;
				background-position: center;
				outline: none;
			}

			&.on {
				height: 3rem;
			}
		}
	}
}

.start_list {
	margin-top: 1rem;

	&>ul{
		@include grid_line;
		@extend %ul;
				
		&>li {
			width: 18%;
			margin: 1%;
			border: solid 1px #e1e1e1;
			border-radius: 5px;
			
			&>a{
				display:block;
				width:100%;
				padding: 1rem;
				overflow: hidden;

				&:hover {
					background: #eee;
				}
			}
		}
	}
}

.start_headimg {
	position: relative;
	width: 7rem;
	height: 7rem;
	border-radius: 50%;
	margin: 0rem auto;
	box-shadow: 0px 0px 5px #ddd;

	&>img {
		width: 7rem;
		height: 7rem;
		border-radius: 50%;
	}

	.start_comment_num {
		position: absolute;
		top: 0.5rem;
		right: -0.5rem;
		width: 2rem;
		height: 1.5rem;
		line-height: 1.5rem;
		color: #fff;
		font-size: 1rem;
		font-family: $fontFamily;
		border-radius: 4rem;
		background: #428bca;
		z-index: 111;
		text-align: center;
	}
}

.start_description,
.start_name {
	width: 100%;
	line-height: 1.5rem;
	color: #333;
	font-size: 1.2rem;
	font-family: $fontFamily;
	margin-top: 1rem;
	text-align: center;
}

.start_description {
	height: 54px;
	margin-top: 0.5rem;
	font-size: 1.2rem;
}

.start_good_and_bad {
	@include grid_line;
	text-align: center;

	.start_num{
		margin: 0.5rem 0.5rem 0rem;

		&>button{
			width: auto;
			line-height: 1rem;
			color: #fff;
			font-size: 1rem;
			font-family: $fontFamily;
			padding: 0.5rem 0.5rem 0.5rem 2rem;
			border-radius: 5px;
			text-align: center;
			border: none;
			cursor: pointer;
			outline: none;
		}
	}

	.start_good_num {

		&>button{
			background: url(../images/iconfont-good.png) no-repeat;
			background-size: auto 1.6rem;
			background-position: left top;
			color: #e75744;
		}

		&>.start_popup_num {
			color: #e75744 !important;
		}
	}

	.start_bad_num {
		&>button{
			background: url(../images/iconfont-bad.png) no-repeat;
			background-size: auto 1.6rem;
			background-position: left bottom;
			color: #999;
		}
	}
}

.loading {
	position: relative;
	visibility: hidden;
}

.loading::after {
	content: " ";
	position: fixed;
	top: 5rem;
	bottom: 5rem;
	left: 0rem;
	right: 0rem;
	visibility: visible;
	background: rgba(255,255,255,.6) url(../images/loading_2.gif) no-repeat;
	background-size: auto 2rem;
	background-position: center;
	z-index: 1000;
}

.start_detial_box {
	position: relative;
	.start_detail_good_and_bad {
		margin-top: 1rem;

		.start_num {
			position:relative;
			cursor: pointer;
			margin: 0.5rem 1.5rem;

			&.start_bad_num{
				.start_popup_num {
					&.disable {
						visibility: visible;
						transform: translateY(3rem);
						-webkit-transform: translateY(3rem);
						opacity: 0;
					}
				}
			}

			&.start_good_num{
				.start_popup_num {
					&.disable {
						visibility: visible;
						transform: translateY(-3rem);
						-webkit-transform: translateY(-3rem);
						opacity: 0;
					}
				}
			}

			&>button {
				background-color: #fff;
				position: relative;
				z-index: 10;
				outline: none;
				cursor: pointer;
				outline: none;
				z-index: 10;
			}

			.start_popup_num {
				position: absolute;
				top: 0rem;
				left: 0rem;
				width: 100%;
				height: 100%;
				background: transparent;
				line-height: 2rem;
				color: #999;
				font-size: 1.4rem;
				font-weight: bold;
				font-family: $fontFamily;
				transition: all 1s linear;
				-webkit-transition: all 1s linear;
				z-index: -1;
				visibility: hidden;
			}
		}
	}
}

.start_detail_comment_box {
	margin: 1rem auto;

	.start_comment_title {
		@extend %noMargin;
		line-height: 2rem;
		color: #333;
		font-size: 1.6rem;
		font-weight: normal;
		font-family: $fontFamily;
		padding: 1rem 0rem;
		border-bottom: solid 1px #e1e1e1;

		&>span {
			line-height: 2rem;
			color: #333;
			font-size: 1.6rem;
			font-weight: bold;
			font-family: $fontFamily;
		}

		&>small {
			line-height: 2rem;
			color: #999;
			font-size: 1.2rem;
			font-family: $fontFamily;
		}
	}

	&>ul {
		@extend %ul;
		@extend %noMargin;

		&>li{
			padding: 1rem 0rem;
			border-top: solid 1px #e1e1e1;
			@include grid_line;

			.start_comment_headimg {
				height: 4rem;
				width: 4rem;
				overflow: hidden;
				//border: solid 0.1rem #e1e1e1;
				border-radius: 50%;
				//padding: 0.4rem;

				&>img{
					width: 4rem !important;
					height: 4rem !important;
					border-radius: 50%;
				}
			}

			.start_comment_box {
				width: 80%;
				width: calc(100% - 4rem) !important;
				padding-left: 1rem;

				.start_comment_head {
					@extend %noMargin;
					line-height: 2rem;
					color: #999;
					font-size: 1.4rem;
					font-weight: normal;
					font-family: $fontFamily;

					&>span {
						line-height: 2rem;
						color: #333;
						font-size: 1.4rem;
						font-weight: normal;
						font-family: $fontFamily;
					}

					&>a {
						line-height: 2rem;
						color: #333;
						font-size: 1.4rem;
						font-family: $fontFamily;
						text-decoration: underline;

						&:hover {
							color: #e75744;
						}
					}
				}

				.start_comment_subhead {
					@extend %noMargin;
					line-height: 2rem;
					color: #999;
					font-size: 1rem;
					font-weight: normal;
					font-family: $fontFamily;
				}

				.start_comment_content {
					position: relative;
					width: 100%;
					line-height: 20px;
					color: #333;
					font-size: 1.2rem;
					font-family: $fontFamily;
					padding: 1rem 0rem;
					word-wrap: break-word;

					.start_comment_tips {
						position: absolute;
						height: 3rem;
						width: 100%;
						line-height: 3rem;
						color: #333;
						font-size: 1rem;
						font-family: $fontFamily;
						bottom: 0.3rem;
						left: 0rem;
						background: #eee;
						border: solid 1px #e1e1e1;
						padding-left: 1rem;
						z-index: 100;

						&>span {
							line-height: 2rem;
							color: #e75744;
							font-size: 1rem;
							font-family: $fontFamily;

							&.able {
								color: #449d44;
							}
						}
					}

					&>textarea {
						width: 100%;
						max-width: 100%;
						min-width: 100%;
						max-height: 10rem;
						min-height: 10rem;
						height: 10rem;
						line-height: 1.5rem;
						color: #333;
						font-size: 1.2rem;
						font-family: $fontFamily;
						border-radius: 0.5rem;
						border: solid 1px #e1e1e1;
						background: #fff;
						padding: 1rem 1rem 2rem;
						outline: none;
						box-shadow: none;
					}
				}

				.start_comment_footer {
					width: 100%;
					padding: 1rem 0rem 0rem;

					&>button{
						height: 2.5rem;
						width: 8rem;
						background: #000;
						color: #fff;
						font-size: 1.2rem;
						font-family: $fontFamily;
						border-radius: 4rem;
						border: none;
						margin-top: -1rem;
						cursor: pointer;
						outline: none;

						&.disable {
							background:#e1e1e1;
							cursor: default;
						}
					}

					&>ul {
						@extend %ul;
						@include grid_line;

						&>li {
							

							&>button{
								padding: 0rem 0.5rem;
								height: 2rem;
								font-size: 1rem;
								font-family: $fontFamily;
								border: solid 1px #3498db;
								border-radius: 5px;
								cursor: pointer;
								outline: none;
							}

							&.good>button {
								border-radius: 5px;
								border: solid 1px #abeafc;
								background: #d1f5ff;
								color: #3498db !important;
								margin-right: 1rem;
							}

							&.bad>button {
								background: #fff;
								border-radius: 5px;
								border: solid 1px #fff;
								color: #ddd !important;
							}

						}
					}
				}
			}
		}

		&>li:first-child {
			border-top: none;
		}
	}
}

.start_more {
	width: 280px;
	height: 3rem;
	line-height: 3rem;
	font-family: $fontFamily;
	font-weight: normal;
	font-size: 1.2rem;
	color: #999;
	border-radius: 4rem;
	background: #e1e1e1;
	text-align: center;
	margin: 1rem auto 3rem;
	cursor: pointer;
}

.start_detail_tips_box {
	width: 100%;
	margin: 2rem auto;

	&>ul{
		@include grid_line;
		@extend %ul;

		&>li {
			border: solid 1px #e1e1e1;
			line-height: 2rem;
			font-size: 1rem;
			font-family: $fontFamily;
			font-weight: normal;
			color: #999;
			padding: 0rem 1rem;
			margin-right: 0.5rem;
			border-radius: 0.3rem;
			margin-bottom: 0.5rem;
			cursor: pointer;
		}

		.on {
			border: solid 1px #e75744;
			color: #e75744;
		}
	}

	.start_detail_tips_input {
		margin-top: 2rem;
		@include grid_line;
		text-align: center;

		&>input {
			width: 18rem;
			height: 2.5rem;
			padding-left: 1rem;
			padding-right: 1rem;
			border:solid 1px #dcdcdc;
			border-right: solid 1px #000;
			border-top-left-radius: 0.5rem;
			border-bottom-left-radius: 0.5rem;
			font-size: 1.2rem;
			font-family: $fontFamily;
			font-weight: normal;
			color: #333;
			outline: none;

			&:focus {
				border: solid 1px #000;
			}
		}

		&>button {
			border: none;
			background: #000;
			border-top-right-radius: 0.5rem;
			border-bottom-right-radius: 0.5rem;
			color: #fff;
			width: 5em;
			height: 2.5rem;
			font-size: 1.2rem;
			font-family: $fontFamily;
			font-weight: normal;
			text-align: center;
			cursor: pointer;
			outline: none;
		}
	}
}

.start_page {
	@include grid_line;
	@extend %ul;
	text-align: right;
	margin-top: 3rem;
	margin-bottom: 3rem;

	&>li{
		width: auto;
		min-width: 2rem;
		height: 2rem;
		line-height: 2rem;
		border-radius: 0.5rem;
		font-size: 1rem;
		font-family: $fontFamily;
		font-weight: normal;
		text-align: center;
		margin-right: 0.5rem;
		cursor: pointer;

		&:hover {
			color: #e75744;
			background: #e1e1e1;
		}

		&.active {
			background: #e75744;
			color: #fff;
		}

		&>img {
			height: 2rem;
			width: 2rem;
		}
	}

	&>li:first-child,
	&>li:last-child {
		background: #e1e1e1;

		&:hover {
			background: #e75744;
		}
	}
}

.start_top {
	display: none;
	position: fixed;
	bottom: 3rem;
	right: 2rem;
	width: 4rem;
	height: 4rem;
	background: rgba(0,0,0,.3);
	border-radius: 0.5rem;
	z-index: 100;
	cursor: pointer;

	&>img {
		display: block;
		margin: 1rem auto;
		height: 2rem;
	}
}

@include min-screen(1000px){
	.start_container {
		padding: 0rem 15px;
	}

	.start_list {
		&>ul{
			&>li {
				width: calc(25% - 4px)!important;
				width: 19%;
				margin: 2px;
			}
		}
	}

	.start_detail_tips_box {
		text-align: center;
	}

	.start_detail_comment_box{
		width: 100%;
	}

	.start_user_box_pc {
		display: inline-block !important;
	}
	.start_user_box_mobile {
		display: none !important;
	}
}

@include max-screen(1000px){
	.start_container {
		padding: 0rem 15px;
	}

	.start_list {
		&>ul{
			&>li {
				width: calc(25% - 4px)!important;
				width: 19%;
				margin: 2px;
			}
		}
	}

	.start_detail_tips_box {
		text-align: center;
	}

	.start_detail_comment_box{
		width: 90%;
	}

	.start_user_box_pc {
		display: inline-block !important;
	}
	.start_user_box_mobile {
		display: none !important;
	}
}

@include max-screen(960px){
	.start_container {
		padding: 0rem 15px;
	}

	.start_list {
		&>ul{
			&>li {
				width: calc(25% - 4px) !important;
				width: 24%;
				margin: 2px;
			}
		}
	}
	
	.start_detail_tips_box {
		text-align: center;
	}

	.start_detail_comment_box{
		width: 90%;
	}

	.start_user_box_pc {
		display: inline-block !important;
	}
	.start_user_box_mobile {
		display: none !important;
	}
}

@include max-screen(768px){
	.start_container {
		padding: 0rem 15px;
	}

	.start_list {
		&>ul{
			&>li {
				width: calc(33.33333333% - 4px) !important;
				width: 32%;
				margin: 2px;
			}
		}
	}

	.start_detail_tips_box {
		text-align: center;
	}

	.start_detail_comment_box{
		width: 90%;
	}

	.start_user_box_pc {
		display: none !important;
	}
	.start_user_box_mobile {
		display: inline-block !important;
	}
}

@include max-screen(540px){
	.start_container {
		padding: 0rem 15px;
	}

	.start_nav .start_nav_top .start_options > ul {
		min-width: 12rem;
	}

	.start_list {
		&>ul{
			&>li {
				width: calc(50% - 4px) !important;
				width: 49%;
				margin: 2px;
			}
		}
	}

	.start_detail_tips_box {
		text-align: left;
	}

	.start_detail_comment_box{
		width: 100%;

		& > ul > li .start_comment_headimg {
		    height: 3rem;
			width: 3rem;

			&>img {
				width: 3rem !important;
			    height: 3rem !important;
			}
		}
		& > ul > li .start_comment_box {
			width: 80%;
			width: calc(100% - 3rem) !important;
		}
	}

	.start_user_box_pc {
		display: none !important;
	}
	.start_user_box_mobile {
		display: inline-block !important;
	}

}


@include keyframes(rotate){
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}